import {Column, Entity, PrimaryGeneratedColumn} from "typeorm";

@Entity("approval_record", { schema: "workflow" })
export class HandleApprovalDto {
    @Column("char", { primary: true, name: "id", length: 36 })
    @PrimaryGeneratedColumn("uuid")
    id: string;

    @Column("varchar", {
        name: "userId",
        nullable: true,
        comment: "审核人",
        length: 50,
    })
    userId: string | null;

    @Column("tinyint", {
        name: "status",
        nullable: true,
        comment: "状态",
        default: () => "'0'",
    })
    status: number | null;





}
